<%@ Page language="c#" AutoEventWireup="false" Inherits="FlexWiki.Web.Default" CodeBehind="default.aspx.cs" %>
<%@ Register TagPrefix="Forums" Namespace="AspNetForums.Controls" Assembly="AspNetForums.Controls" %>
<HTML>
  <HEAD>
    <Forums:Style runat="server" ID="Style2" />
    <title>Channel9 Wiki: <%= GetTopicName().Name %></title>
    <% DoHead(); %>
	<script language="JavaScript">
			

			/////////////////////////////////////////////////////////////////////////

			function MainHeight()
			{
				var answer = document.body.clientHeight;
				var e;
				 return answer;
			}
						
			function MainWidth()
			{
				var answer = document.body.clientWidth;
				var e;
				
				e = document.getElementById("Sidebar");
				if (e != null)
					answer -= e.scrollWidth;
				 return answer;
			}

			function nav(s)
			{
				location.href = s;
			}
			
			function showChanges()
			{
				nav("<%= urlForDiffs %>");
			}
			
			function hideChanges()
			{
				nav("<%= urlForNoDiffs %>");
			}
			
			function diffToggle()
			{
					document.getElementById("showDiffs").checked = !document.getElementById("showDiffs").checked;
					if (document.getElementById("showDiffs").checked)
						showChanges();
					else
						hideChanges();
			}

			function showVersion()
			{
				nav(document.getElementById("VersionList").value);
			}
						
	</script>
	<style type="text/css">
		div.center
		{
			margin-left:210px;
		}
		div.center table
		{
			table-layout:fixed;
		}
		div.left
		{
			display:block;
			width:210px;
			float:left;
		}
	</style>
  </HEAD>
  <body>
    <form runat="server" ID="Form1">
		<Forums:PageTemplate ID="template" Runat="server">
				<LeftBarTemplate>
					<% DoSideBar(); %>
				</LeftBarTemplate>
				<ContentTemplate>
					<% DoPage(); %>
				</ContentTemplate>
		</Forums:PageTemplate>
	</form>
  </body>
</HTML>
	

